Does some default validations in the path then it executes the extra ones.
The path to validate
Checks whether that path is a file or a directory.
Flags for executing extra validations
Whether the path is valid
See Implementation
Does some default validations in the path then it executes the extra ones.